Compare commits

..

2 Commits

Author SHA1 Message Date
autumn-the-kitty-cat 6696d0a56a refactor: multi-system configuration in host 2025-12-01 17:55:12 -05:00
autumn-the-kitty-cat 9b216cf609 refactor: home-manager to home/autumn 2025-12-01 17:54:36 -05:00
50 changed files with 311 additions and 476 deletions
Generated
+45 -159
View File
@@ -102,14 +102,17 @@
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
"nixpkgs-lib": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1749398372,
"narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=",
"lastModified": 1763759067,
"narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569",
"rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0",
"type": "github"
},
"original": {
@@ -119,27 +122,6 @@
}
},
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1762440070,
"narHash": "sha256-xxdepIcb39UJ94+YydGP221rjnpkDZUlykKuF54PsqI=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "26d05891e14c88eb4a5d5bee659c0db5afb609d8",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_3": {
"inputs": {
"nixpkgs-lib": [
"stylix",
@@ -162,11 +144,7 @@
},
"flake-utils": {
"inputs": {
"systems": [
"mango",
"scenefx",
"systems"
]
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
@@ -200,24 +178,6 @@
"type": "github"
}
},
"flake-utils_3": {
"inputs": {
"systems": "systems_3"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"fromYaml": {
"flake": false,
"locked": {
@@ -259,18 +219,20 @@
"gnome-shell": {
"flake": false,
"locked": {
"lastModified": 1748186689,
"narHash": "sha256-UaD7Y9f8iuLBMGHXeJlRu6U1Ggw5B9JnkFs3enZlap0=",
"host": "gitlab.gnome.org",
"lastModified": 1762869044,
"narHash": "sha256-nwm/GJ2Syigf7VccLAZ66mFC8mZJFqpJmIxSGKl7+Ds=",
"owner": "GNOME",
"repo": "gnome-shell",
"rev": "8c88f917db0f1f0d80fa55206c863d3746fa18d0",
"type": "github"
"rev": "680e3d195a92203f28d4bf8c6e8bb537cc3ed4ad",
"type": "gitlab"
},
"original": {
"host": "gitlab.gnome.org",
"owner": "GNOME",
"ref": "48.2",
"ref": "gnome-49",
"repo": "gnome-shell",
"type": "github"
"type": "gitlab"
}
},
"home-manager": {
@@ -280,11 +242,11 @@
]
},
"locked": {
"lastModified": 1762721397,
"narHash": "sha256-E428EuouA4nFTNlLuqlL4lVR78X+EbBIqDqsBFnB79w=",
"lastModified": 1764603455,
"narHash": "sha256-Q70rxlbrxPcTtqWIb9+71rkJESxIOou5isZBvyOieXw=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "b8645b18b0f5374127bbade6de7381ef0b3d5720",
"rev": "effe4c007d6243d9e69ce2242d76a2471c1b8d5c",
"type": "github"
},
"original": {
@@ -301,11 +263,11 @@
]
},
"locked": {
"lastModified": 1762351818,
"narHash": "sha256-0ptUDbYwxv1kk/uzEX4+NJjY2e16MaAhtzAOJ6K0TG0=",
"lastModified": 1762964643,
"narHash": "sha256-RYHN8O/Aja59XDji6WSJZPkJpYVUfpSkyH+PEupBJqM=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "b959c67241cae17fc9e4ee7eaf13dfa8512477ea",
"rev": "827f2a23373a774a8805f84ca5344654c31f354b",
"type": "github"
},
"original": {
@@ -342,31 +304,9 @@
"type": "github"
}
},
"mango": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": [
"nixpkgs"
],
"scenefx": "scenefx"
},
"locked": {
"lastModified": 1762701589,
"narHash": "sha256-xB9F2URQwqUPX4YU9ggWPLrAvEGegO/Inlvs835lMJg=",
"owner": "DreamMaoMao",
"repo": "mango",
"rev": "d0a51f47856b62ed1d135eaa2a1824377efc85a4",
"type": "github"
},
"original": {
"owner": "DreamMaoMao",
"repo": "mango",
"type": "github"
}
},
"nix-wallpaper": {
"inputs": {
"flake-utils": "flake-utils_2",
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
],
@@ -388,11 +328,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1762596750,
"narHash": "sha256-rXXuz51Bq7DHBlfIjN7jO8Bu3du5TV+3DSADBX7/9YQ=",
"lastModified": 1764517877,
"narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b6a8526db03f735b89dd5ff348f53f752e7ddc8e",
"rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c",
"type": "github"
},
"original": {
@@ -402,36 +342,21 @@
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1748740939,
"narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "656a64127e9d791a334452c6b6606d17539476e2",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixvim": {
"inputs": {
"flake-parts": "flake-parts_2",
"flake-parts": "flake-parts",
"nixpkgs": [
"nixpkgs"
],
"nuschtosSearch": "nuschtosSearch",
"systems": "systems_4"
"systems": "systems_3"
},
"locked": {
"lastModified": 1762691346,
"narHash": "sha256-dyYnqvYrgViB22inBqNern/XSWtOiweP8NTfJQJeTis=",
"lastModified": 1764611906,
"narHash": "sha256-8UbK91SY+IN93IsA59G1W0IclCCgJ95DhNxi9b1YLHw=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "faf1fb4b7cd069ce44469e45c3259b7bcf106f81",
"rev": "ee6ccaae42fc032ca4678951b48f92c635cb8ebc",
"type": "github"
},
"original": {
@@ -467,7 +392,7 @@
},
"nuschtosSearch": {
"inputs": {
"flake-utils": "flake-utils_3",
"flake-utils": "flake-utils_2",
"ixx": "ixx",
"nixpkgs": [
"nixvim",
@@ -514,7 +439,6 @@
"root": {
"inputs": {
"home-manager": "home-manager",
"mango": "mango",
"nix-wallpaper": "nix-wallpaper",
"nixpkgs": "nixpkgs",
"nixvim": "nixvim",
@@ -522,29 +446,6 @@
"zen-browser": "zen-browser"
}
},
"scenefx": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"mango",
"nixpkgs"
],
"systems": "systems"
},
"locked": {
"lastModified": 1762447505,
"narHash": "sha256-VEBQ8KXkSS4c+kdAhmvq06lEd9WNeCXdRK1U+qSilFw=",
"owner": "wlrfx",
"repo": "scenefx",
"rev": "7f9e7409f6169fa637f1265895c121a8f8b70272",
"type": "github"
},
"original": {
"owner": "wlrfx",
"repo": "scenefx",
"type": "github"
}
},
"stylix": {
"inputs": {
"base16": "base16",
@@ -552,13 +453,13 @@
"base16-helix": "base16-helix",
"base16-vim": "base16-vim",
"firefox-gnome-theme": "firefox-gnome-theme",
"flake-parts": "flake-parts_3",
"flake-parts": "flake-parts_2",
"gnome-shell": "gnome-shell",
"nixpkgs": [
"nixpkgs"
],
"nur": "nur",
"systems": "systems_5",
"systems": "systems_4",
"tinted-foot": "tinted-foot",
"tinted-kitty": "tinted-kitty",
"tinted-schemes": "tinted-schemes",
@@ -566,11 +467,11 @@
"tinted-zed": "tinted-zed"
},
"locked": {
"lastModified": 1762264356,
"narHash": "sha256-QVfC53Ri+8n3e7Ujx9kq6all3+TLBRRPRnc6No5qY5w=",
"lastModified": 1764550443,
"narHash": "sha256-ArO2V1YEHmEILilTj4KPtqF4gqc1q2HBrrrmygQ/UyU=",
"owner": "danth",
"repo": "stylix",
"rev": "647bb8dd96a206a1b79c4fd714affc88b409e10b",
"rev": "794b6e1fa75177ebfeb32967f135858a1ab1ba15",
"type": "github"
},
"original": {
@@ -581,16 +482,16 @@
},
"systems": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"repo": "default",
"type": "github"
}
},
@@ -639,21 +540,6 @@
"type": "github"
}
},
"systems_5": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tinted-foot": {
"flake": false,
"locked": {
@@ -743,11 +629,11 @@
]
},
"locked": {
"lastModified": 1762721850,
"narHash": "sha256-DM2z2mMtHqo7SQkhTRws538Aa9MUxH3pw6u6ZQrfeKk=",
"lastModified": 1764598958,
"narHash": "sha256-sJQHRL8trBoG/ArR+mUlyp5cyKU0pgQY+qDQzZGnVgM=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "f0c7e6dafa5641880eaa49736526f9101aa0bdb4",
"rev": "8cded25e10b13e2999241f1c73a7d4e5e5d6f69e",
"type": "github"
},
"original": {
+26 -15
View File
@@ -22,25 +22,36 @@
url = "github:lunik1/nix-wallpaper";
inputs.nixpkgs.follows = "nixpkgs";
};
mango = {
url = "github:DreamMaoMao/mango";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{ ... }@inputs:
let
system = "x86_64-linux";
#pkgs = import inputs.nixpkgs {
# inherit system;
#};
hostName = "january";
userName = "autumn";
in
{
nixosConfigurations.${hostName} = inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; inherit hostName; };
modules = [ ./nixos/configuration.nix ];
nixosConfigurations = {
"january" = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {
hostName = "january";
inherit inputs;
};
modules = [ ./host/pc/january/configuration.nix ];
};
"february" = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {
hostName = "february";
inherit inputs;
modules = [ ./host/pc/february/configuration.nix ];
};
};
"march" = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {
hostName = "march";
};
modules = [ ./host/server/march/configuration.nix ];
};
};
};
}
-220
View File
@@ -1,220 +0,0 @@
{ config, ... }:
{
wayland.windowManager.mango = {
enable = true;
settings = ''
# More option see https://github.com/DreamMaoMao/mango/wiki/
# Window effect
blur=0
blur_layer=0
blur_optimized=1
blur_params_num_passes = 2
blur_params_radius = 5
blur_params_noise = 0.02
blur_params_brightness = 0.9
blur_params_contrast = 0.9
blur_params_saturation = 1.2
shadows = 1
layer_shadows = 0
shadow_only_floating = 0
shadows_size = 10
shadows_blur = 15
shadows_position_x = 0
shadows_position_y = 0
shadowscolor= 0x00000099
border_radius=10
no_radius_when_single=0
focused_opacity=1.0
unfocused_opacity=1.0
# Animation Configuration(support type:zoom,slide)
# tag_animation_direction: 0-horizontal,1-vertical
animations=1
layer_animations=1
animation_type_open=zoom
animation_type_close=zoom
animation_fade_in=1
animation_fade_out=1
tag_animation_direction=1
zoom_initial_ratio=0.3
zoom_end_ratio=0.8
fadein_begin_opacity=0.5
fadeout_begin_opacity=0.8
animation_duration_move=500
animation_duration_open=400
animation_duration_tag=350
animation_duration_close=800
animation_curve_open=0.46,1.0,0.29,1
animation_curve_move=0.46,1.0,0.29,1
animation_curve_tag=0.46,1.0,0.29,1
animation_curve_close=0.08,0.92,0,1
# Master-Stack Layout Setting
new_is_master=1
default_mfact=0.55
default_nmaster=1
smartgaps=0
# Overview Setting
hotarea_size=10
enable_hotarea=1
ov_tab_mode=0
overviewgappi=5
overviewgappo=30
# Misc
no_border_when_single=0
axis_bind_apply_timeout=100
focus_on_activate=1
inhibit_regardless_of_visibility=0
sloppyfocus=1
warpcursor=1
focus_cross_monitor=1
focus_cross_tag=0
enable_floating_snap=0
snap_distance=30
cursor_size=24
drag_tile_to_tile=1
# keyboard
repeat_rate=25
repeat_delay=600
numlockon=0
xkb_rules_layout=us
# Trackpad
# need relogin to make it apply
disable_trackpad=0
tap_to_click=1
tap_and_drag=1
drag_lock=1
trackpad_natural_scrolling=0
disable_while_typing=1
left_handed=0
middle_button_emulation=0
swipe_min_threshold=1
# mouse
# need relogin to make it apply
mouse_natural_scrolling=0
# Appearance
gappih=5
gappiv=5
gappoh=10
gappov=10
scratchpad_width_ratio=0.8
scratchpad_height_ratio=0.9
borderpx=2
rootcolor=0x201b14ff
bordercolor=0x595959aa
focuscolor=${config.stylix.base16Scheme.palette.base0D}ff
maximizescreencolor=0x89aa61ff
urgentcolor=0xad401fff
scratchpadcolor=0x516c93ff
globalcolor=0xb153a7ff
overlaycolor=0x14a57cff
# layout support:
# tile,scroller,grid,deck,monocle,center_tile,vertical_tile,vertical_scroller
tagrule=id:1,layout_name:tile
tagrule=id:2,layout_name:tile
tagrule=id:3,layout_name:tile
tagrule=id:4,layout_name:tile
tagrule=id:5,layout_name:tile
tagrule=id:6,layout_name:tile
tagrule=id:7,layout_name:tile
tagrule=id:8,layout_name:tile
tagrule=id:9,layout_name:tile
# Key Bindings
# key name refer to `xev` or ``grid command output,
# mod keys name: super,ctrl,alt,shift,none
# reload config
bind=SUPER,r,reload_config
# menu and terminal
bind=SUPER,q,spawn,foot
bind=SUPER,d,spawn,rofi -show drun
bind=SUPER+SHIFT,p,spawn,rofi -show power-menu -modi power-menu:rofi-power-menu
# exit
bind=SUPER,c,killclient
bind=SUPER,m,quit
# switch window focus
bind=SUPER,Tab,focusstack,next
bind=SUPER,Left,focusdir,left
bind=SUPER,Right,focusdir,right
bind=SUPER,Up,focusdir,up
bind=SUPER,Down,focusdir,down
# swap window
bind=SUPER+SHIFT,Up,exchange_client,up
bind=SUPER+SHIFT,Down,exchange_client,down
bind=SUPER+SHIFT,Left,exchange_client,left
bind=SUPER+SHIFT,Right,exchange_client,right
# switch window status
bind=SUPER,g,toggleglobal,
bind=SUPER,Tab,toggleoverview,
bind=SUPER,v,togglefloating
bind=SUPER,f,togglefullscreen,
bind=SUPER,o,toggleoverlay,
bind=SUPER,z,toggle_scratchpad
# tag switch
bind=SUPER,1,view,1,0
bind=SUPER,2,view,2,0
bind=SUPER,3,view,3,0
bind=SUPER,4,view,4,0
bind=SUPER,5,view,5,0
bind=SUPER,6,view,6,0
bind=SUPER,7,view,7,0
bind=SUPER,8,view,8,0
bind=SUPER,9,view,9,0
# tag: move client to the tag and focus it
# tagsilent: move client to the tag and not focus it
# bind=Alt,1,tagsilent,1
bind=SUPER+SHIFT,1,tag,1,0
bind=SUPER+SHIFT,2,tag,2,0
bind=SUPER+SHIFT,3,tag,3,0
bind=SUPER+SHIFT,4,tag,4,0
bind=SUPER+SHIFT,5,tag,5,0
bind=SUPER+SHIFT,6,tag,6,0
bind=SUPER+SHIFT,7,tag,7,0
bind=SUPER+SHIFT,8,tag,8,0
bind=SUPER+SHIFT,9,tag,9,0
# Mouse Button Bindings
# NONE mode key only work in ov mode
mousebind=SUPER,btn_left,moveresize,curmove
mousebind=NONE,btn_middle,togglemaximizescreen,0
mousebind=SUPER,btn_right,moveresize,curresize
mousebind=NONE,btn_left,toggleoverview,-1
mousebind=NONE,btn_right,killclient,0
# Axis Bindings
axisbind=SUPER,UP,viewtoleft_have_client
axisbind=SUPER,DOWN,viewtoright_have_client
# layer rule
layerrule=animation_type_open:zoom,layer_name:rofi
layerrule=animation_type_close:zoom,layer_name:rofi
exec-once=swww-daemon
exec=swww img ${config.stylix.image}
exec=pkill waybar; waybar
env=XCURSOR_SIZE,24
monitorrule=DP-2,0.55,1,tile,0,1,0,0,2560,1440,180
monitorrule=HDMI-A-1,0.55,1,tile,0,1,2560,0,1920,1080,60
'';
};
}
-15
View File
@@ -1,15 +0,0 @@
# Rofi
- [x] package search (nix-search-tv + television)
- [x] power menu log out -> sddm // remove log out all together; super+m works just fine
- [ ] package search (nix-search-tv + rofi) // can use -dmenu with pipes
- [ ] figure out rofi-calc | dict.sh
# Misc.
- [x] setup some proper shell shortcuts
- [x] ❌ cancelled : dynamic auto-tab depending on filetype // just deal with the standards, silly !
- [ ] COMMENTS
# Nix
- [ ] combine home-manager and nixos configuration
- [ ] custom nixos iso
-57
View File
@@ -1,57 +0,0 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
anki
arduino-ide
audacity
bitwarden-desktop
blender
cava
cmus
eza
fd
file
ffmpeg
fzf
gimp3-with-plugins
git
ghidra-bin
grim
imagemagick
jellycli
jugglinglab
kdePackages.kdenlive
kicad
killall
krita
lazygit
ldtk
libresprite
live-server
localsend
logisim-evolution
lunar-client
man-pages
man-pages-posix
musikcube
nextcloud-client
obs-studio
pandoc
python3
prismlauncher
ripgrep
rusty-man
slurp
stm32cubemx
telegram-desktop
texlive.combined.scheme-small
tokei
tor-browser
unzip
vial
virtualboxKvm
vlc
wiki-tui
wl-clipboard
];
}
+31
View File
@@ -0,0 +1,31 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
audacity
bitwarden-desktop
cava
cmus
fd
file
ffmpeg
fzf
gimp3-with-plugins
git
grim
killall
lazygit
libresprite
man-pages
man-pages-posix
python3
ripgrep
rusty-man
slurp
stm32cubemx
tor-browser
unzip
vial
vlc
wl-clipboard
];
}
@@ -22,6 +22,7 @@
nvim-tree.enable = true;
nvim-autopairs.enable = true;
quickmath.enable = true;
rainbow.enable = true;
render-markdown.enable = true;
treesj.enable = true;
ts-autotag.enable = true;
@@ -92,14 +92,8 @@ in
SearchBar = "unified";
ExtensionSettings = builtins.listToAttrs (
builtins.map (name: installExtension name) [
# uBlock Origin:
"uBlock0@raymondhill.net"
# SponsorBlocker
"sponsorBlocker@ajay.app"
# Return dislikes to YouTube
"{762f9885-5a13-4abd-9c77-433dcd38b8fd}"
# BitWarden
"{446900e4-71c2-419f-a6a7-df9c091e268b}"
# Catppuccin Mocha Mauve
"{76aabc99-c1a8-4c1e-832b-d4f2941d5a7a}"
@@ -107,8 +101,17 @@ in
# Dark Reader
"addon@darkreader.org"
# BitWarden
"{446900e4-71c2-419f-a6a7-df9c091e268b}"
# Language Tool
"languagetool-webextension@languagetool.org"
# Return dislikes to YouTube
"{762f9885-5a13-4abd-9c77-433dcd38b8fd}"
# SponsorBlocker
"sponsorBlocker@ajay.app"
# uBlock Origin:
"uBlock0@raymondhill.net"
]
);
};
+142
View File
@@ -0,0 +1,142 @@
{
inputs,
hostName,
pkgs,
...
}:
{
imports = [
inputs.home-manager.nixosModules.home-manager
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.tmp.cleanOnBoot = true;
nix.package = pkgs.lixPackageSets.latest.lix;
networking.hostName = "${hostName}";
hardware.graphics.enable = true;
networking.networkmanager.enable = true;
nixpkgs.config.allowUnfree = true;
time.timeZone = "America/Toronto";
i18n.defaultLocale = "en_CA.UTF-8";
services.udev.extraRules = ''
SUBSYSTEMS=="usb", ATTR{idVendor}=="*", MODE:="0666"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
'';
home-manager = {
extraSpecialArgs = { inherit inputs; };
users = {
autumn = import ../../../home/autumn/home.nix;
};
};
services.gnome.glib-networking.enable = true;
programs.hyprland = {
enable = true;
};
services.displayManager.sddm = {
enable = true;
theme = "catppuccin-mocha-mauve";
wayland.enable = true;
package = pkgs.kdePackages.sddm;
};
programs.steam = {
enable = true;
};
services.blueman.enable = true;
services.printing.enable = true;
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
services.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
users.users.autumn = {
isNormalUser = true;
description = "Autumn";
extraGroups = [
"networkmanager"
"wheel"
];
packages = [ ];
shell = pkgs.nushell;
};
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
programs.dconf.enable = true;
environment.systemPackages = with pkgs; [
cloudflared
gparted
networkmanagerapplet
nh
pavucontrol
(pkgs.catppuccin-sddm.override {
flavor = "mocha";
font = "CaskaydiaCove Nerd Font";
fontSize = "12";
})
wget
];
fonts = {
packages = [
pkgs.nerd-fonts.caskaydia-cove
];
fontconfig = {
defaultFonts =
let
font = "CaskaydiaCove Nerd Font";
in
{
serif = [ font ];
sansSerif = [ font ];
monospace = [ font ];
emoji = [ font ];
};
};
};
environment.sessionVariables = {
EDITOR = "nvim";
BROWSER = "zen";
SUDO_EDITOR = "nvim";
SHELL = "nu";
};
system.stateVersion = "24.05";
}
+7
View File
@@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./hardware-configuration.nix
../common/configuration.nix
];
}
+7
View File
@@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./hardware-configuration.nix
../common/configuration.nix
];
}
@@ -0,0 +1,39 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/90aaba2e-42f2-4b98-8df6-bd4a72f6d688";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/F8E0-7E32";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp10s0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp18s0f4u1.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}