mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:53:55 -05:00
Merge branch 'master' into add-river
Some checks failed
nix-build / default-build (push) Has been cancelled
nix-build / fallarbor-build (push) Has been cancelled
nix-build / lavaridge-build (push) Has been cancelled
nix-build / mauville-build (push) Has been cancelled
nix-build / petalburg-build (push) Has been cancelled
nix-build / rustboro-build (push) Has been cancelled
nix-build / slateport-build (push) Has been cancelled
nix-check / fmt-check (push) Has been cancelled
nix-check / eval-check (push) Has been cancelled
Some checks failed
nix-build / default-build (push) Has been cancelled
nix-build / fallarbor-build (push) Has been cancelled
nix-build / lavaridge-build (push) Has been cancelled
nix-build / mauville-build (push) Has been cancelled
nix-build / petalburg-build (push) Has been cancelled
nix-build / rustboro-build (push) Has been cancelled
nix-build / slateport-build (push) Has been cancelled
nix-check / fmt-check (push) Has been cancelled
nix-check / eval-check (push) Has been cancelled
This commit is contained in:
commit
458902af52
|
@ -39,22 +39,21 @@
|
||||||
);
|
);
|
||||||
in {
|
in {
|
||||||
"Dustin's A54" = mkWPA2WiFi "Dustin's A54" "$DustinsA54PSK";
|
"Dustin's A54" = mkWPA2WiFi "Dustin's A54" "$DustinsA54PSK";
|
||||||
|
"East Pole Coffee Co." = mkWPA2WiFi "East Pole Coffee Co." "$EastPolePSK";
|
||||||
"InmanPerkCustomer" = mkWPA2WiFi "InmanPerkCustomer" "$InmanPerkCustomerPSK";
|
"InmanPerkCustomer" = mkWPA2WiFi "InmanPerkCustomer" "$InmanPerkCustomerPSK";
|
||||||
|
"javapatron" = mkOpenWiFi "javapatron";
|
||||||
"Muchacho Guest" = mkOpenWiFi "Muchacho Guest";
|
"Muchacho Guest" = mkOpenWiFi "Muchacho Guest";
|
||||||
"PERCguest" = mkWPA2WiFi "PERCguest" "$PERCguestPSK";
|
|
||||||
"PERC COFFEE 5 Guest" = mkWPA2WiFi "PERC COFFEE 5 Guest" "$PERCguestPSK";
|
|
||||||
"Parkgrounds1" = mkWPA2WiFi "Parkgrounds1" "$Parkgrounds1PSK";
|
"Parkgrounds1" = mkWPA2WiFi "Parkgrounds1" "$Parkgrounds1PSK";
|
||||||
|
"PERC COFFEE 5 Guest" = mkWPA2WiFi "PERC COFFEE 5 Guest" "$PERCguestPSK";
|
||||||
|
"PERCguest" = mkWPA2WiFi "PERCguest" "$PERCguestPSK";
|
||||||
"Stargate-Discovery" = mkWPA2WiFi "Stargate-Discovery" "$StargateDiscoveryPSK";
|
"Stargate-Discovery" = mkWPA2WiFi "Stargate-Discovery" "$StargateDiscoveryPSK";
|
||||||
"Taproom Public WiFi" = mkOpenWiFi "Taproom Public WiFi";
|
"Taproom Public WiFi" = mkOpenWiFi "Taproom Public WiFi";
|
||||||
"WeWorkWiFi" = mkEAPWiFi "WeWorkWiFi" "$WeWorkWiFiIdentity" "$WeWorkWiFiPassword" "mschapv2";
|
"VINATL-Guest" = mkWPA2WiFi "VINATL-Guest" "$VINATLGuestPSK";
|
||||||
"javapatron" = mkOpenWiFi "javapatron";
|
|
||||||
"wallace" = mkWPA2WiFi "wallace" "$wallacePSK";
|
"wallace" = mkWPA2WiFi "wallace" "$wallacePSK";
|
||||||
|
"WeWorkWiFi" = mkEAPWiFi "WeWorkWiFi" "$WeWorkWiFiIdentity" "$WeWorkWiFiPassword" "mschapv2";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
wifi = {
|
wifi.powersave = true;
|
||||||
backend = "iwd";
|
|
||||||
powersave = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{disks ? ["/dev/nvme0n1"], ...}: {
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
||||||
main = {
|
main = {
|
||||||
type = "disk";
|
type = "disk";
|
||||||
device = "/dev/sda";
|
device = builtins.elemAt disks 0;
|
||||||
|
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{disks ? ["/dev/nvme0n1"], ...}: {
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
||||||
vdb = {
|
vdb = {
|
||||||
type = "disk";
|
type = "disk";
|
||||||
device = "/dev/nvme0n1";
|
device = builtins.elemAt disks 0;
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
partitions = {
|
partitions = {
|
18
flake.lock
18
flake.lock
|
@ -444,11 +444,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726836401,
|
"lastModified": 1727183733,
|
||||||
"narHash": "sha256-MO/h4RV4Ho4g3W7h6xQkCu5X3wBD1YnziP1Sg/PCCyA=",
|
"narHash": "sha256-JyOFDaIHTTpVp1uO/3M4md6KNIXXhcD8ztDlDST0VL8=",
|
||||||
"owner": "alyraffauf",
|
"owner": "alyraffauf",
|
||||||
"repo": "nixhw",
|
"repo": "nixhw",
|
||||||
"rev": "bd0c54e428c18213321a16f71ce0782d48c27350",
|
"rev": "42685325fa3ca92404b73221ffc8fae1e1671154",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -459,11 +459,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726447378,
|
"lastModified": 1726969270,
|
||||||
"narHash": "sha256-2yV8nmYE1p9lfmLHhOCbYwQC/W8WYfGQABoGzJOb1JQ=",
|
"narHash": "sha256-8fnFlXBgM/uSvBlLWjZ0Z0sOdRBesyNdH0+esxqizGc=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "086b448a5d54fd117f4dc2dee55c9f0ff461bdc1",
|
"rev": "23cbb250f3bf4f516a2d0bf03c51a30900848075",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -666,11 +666,11 @@
|
||||||
"wallpapers": {
|
"wallpapers": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726468197,
|
"lastModified": 1727132619,
|
||||||
"narHash": "sha256-rag8Dk2qYswdE1GH5ocEF6PhFmnd6amzreZ3ZjLk2iI=",
|
"narHash": "sha256-1V9LK/0GwsLjAwedYcW5uXq1y8l4W86Ce2DvrlseLcA=",
|
||||||
"owner": "alyraffauf",
|
"owner": "alyraffauf",
|
||||||
"repo": "wallpapers",
|
"repo": "wallpapers",
|
||||||
"rev": "fc6bd53fdb9f2c1287e6ce36145a14773bae4dce",
|
"rev": "b86110d079361e785014fdc22eb3684bccf891c9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -73,8 +73,9 @@ ______________________________________________________________________
|
||||||
- SUPER + F11: Show/hide top panel.
|
- SUPER + F11: Show/hide top panel.
|
||||||
- SUPER + TAB: Open Window list.
|
- SUPER + TAB: Open Window list.
|
||||||
- SUPER + V: Toggle floating window.
|
- SUPER + V: Toggle floating window.
|
||||||
- SUPER SHIFT + Backslash: Toggle vertical/horizontal splits.
|
- SUPER SHIFT + Backslash: Toggle vertical/horizontal splits (dwindle layout only).
|
||||||
- SUPER SHIFT + G: Toggle groupbar.
|
- SUPER SHIFT + G: Toggle groupbar.
|
||||||
|
- SUPER SHIFT + M: Swap window for master (master layout only).
|
||||||
- SUPER SHIFT + W: Toggle fullscreen.
|
- SUPER SHIFT + W: Toggle fullscreen.
|
||||||
|
|
||||||
#### Focus
|
#### Focus
|
||||||
|
|
|
@ -7,6 +7,18 @@
|
||||||
cfg = config.ar.home;
|
cfg = config.ar.home;
|
||||||
in {
|
in {
|
||||||
config = lib.mkIf cfg.desktop.hyprland.enable {
|
config = lib.mkIf cfg.desktop.hyprland.enable {
|
||||||
|
services.hyprpaper =
|
||||||
|
lib.mkIf
|
||||||
|
(config.stylix.enable && !cfg.services.randomWallpaper.enable)
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
preload = ["${config.stylix.image}"];
|
||||||
|
wallpaper = [",${config.stylix.image}"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = import ./settings.nix {inherit config lib pkgs;};
|
settings = import ./settings.nix {inherit config lib pkgs;};
|
||||||
|
|
|
@ -27,37 +27,38 @@ in {
|
||||||
|
|
||||||
bind =
|
bind =
|
||||||
[
|
[
|
||||||
|
''$mod,M,exec,${lib.getExe config.programs.rofi.package} -show power-menu -modi "power-menu:${lib.getExe pkgs.rofi-power-menu} --choices=logout/lockscreen/suspend/shutdown/reboot"''
|
||||||
|
",PRINT,exec,${helpers.screenshot}"
|
||||||
"$mod CTRL,L,exec,${lib.getExe pkgs.swaylock}"
|
"$mod CTRL,L,exec,${lib.getExe pkgs.swaylock}"
|
||||||
|
"$mod SHIFT,backslash,togglesplit"
|
||||||
|
"$mod SHIFT,comma,exec,${lib.getExe pkgs.hyprnome} --previous --move"
|
||||||
"$mod SHIFT,G,togglegroup"
|
"$mod SHIFT,G,togglegroup"
|
||||||
|
"$mod SHIFT,M,layoutmsg,swapwithmaster master"
|
||||||
|
"$mod SHIFT,period,exec,${lib.getExe pkgs.hyprnome} --move"
|
||||||
"$mod SHIFT,R,exec,${lib.getExe config.programs.rofi.package} -show run"
|
"$mod SHIFT,R,exec,${lib.getExe config.programs.rofi.package} -show run"
|
||||||
"$mod SHIFT,S,movetoworkspace,special:magic"
|
"$mod SHIFT,S,movetoworkspace,special:magic"
|
||||||
"$mod SHIFT,V,togglefloating"
|
"$mod SHIFT,V,togglefloating"
|
||||||
"$mod SHIFT,W,fullscreen"
|
"$mod SHIFT,W,fullscreen"
|
||||||
"$mod SHIFT,backslash,togglesplit"
|
|
||||||
"$mod SHIFT,comma,exec,${lib.getExe pkgs.hyprnome} --previous --move"
|
|
||||||
"$mod SHIFT,period,exec,${lib.getExe pkgs.hyprnome} --move"
|
|
||||||
"$mod,B,exec,${lib.getExe cfg.defaultApps.webBrowser}"
|
"$mod,B,exec,${lib.getExe cfg.defaultApps.webBrowser}"
|
||||||
"$mod,C,killactive"
|
"$mod,C,killactive"
|
||||||
|
"$mod,comma,exec,${lib.getExe pkgs.hyprnome} --previous"
|
||||||
"$mod,E,exec,${lib.getExe cfg.defaultApps.editor}"
|
"$mod,E,exec,${lib.getExe cfg.defaultApps.editor}"
|
||||||
"$mod,F,exec,${lib.getExe cfg.defaultApps.fileManager}"
|
"$mod,F,exec,${lib.getExe cfg.defaultApps.fileManager}"
|
||||||
"$mod,F11,exec,pkill -SIGUSR1 waybar"
|
"$mod,F11,exec,pkill -SIGUSR1 waybar"
|
||||||
"$mod,H,changegroupactive,b"
|
"$mod,H,changegroupactive,b"
|
||||||
"$mod,L,changegroupactive,f"
|
"$mod,L,changegroupactive,f"
|
||||||
"$mod,Left,changegroupactive,b"
|
"$mod,Left,changegroupactive,b"
|
||||||
|
"$mod,mouse_down,workspace,+1"
|
||||||
|
"$mod,mouse_up,workspace,-1"
|
||||||
|
"$mod,period,exec,${lib.getExe pkgs.hyprnome}"
|
||||||
"$mod,R,exec,${lib.getExe config.programs.rofi.package} -show combi"
|
"$mod,R,exec,${lib.getExe config.programs.rofi.package} -show combi"
|
||||||
"$mod,Right,changegroupactive,f"
|
"$mod,Right,changegroupactive,f"
|
||||||
"$mod,S,togglespecialworkspace,magic"
|
"$mod,S,togglespecialworkspace,magic"
|
||||||
"$mod,T,exec,${lib.getExe cfg.defaultApps.terminal}"
|
"$mod,T,exec,${lib.getExe cfg.defaultApps.terminal}"
|
||||||
"$mod,Tab,exec,${lib.getExe config.programs.rofi.package} -show window"
|
"$mod,Tab,exec,${lib.getExe config.programs.rofi.package} -show window"
|
||||||
"$mod,comma,exec,${lib.getExe pkgs.hyprnome} --previous"
|
|
||||||
"$mod,mouse_down,workspace,+1"
|
|
||||||
"$mod,mouse_up,workspace,-1"
|
|
||||||
"$mod,period,exec,${lib.getExe pkgs.hyprnome}"
|
|
||||||
",PRINT,exec,${helpers.screenshot}"
|
|
||||||
"CTRL ALT,M,submap,move"
|
"CTRL ALT,M,submap,move"
|
||||||
"CTRL ALT,R,submap,resize"
|
"CTRL ALT,R,submap,resize"
|
||||||
"CTRL,F12,exec,${helpers.screenshot}"
|
"CTRL,F12,exec,${helpers.screenshot}"
|
||||||
''$mod,M,exec,${lib.getExe config.programs.rofi.package} -show power-menu -modi "power-menu:${lib.getExe pkgs.rofi-power-menu} --choices=logout/lockscreen/suspend/shutdown/reboot"''
|
|
||||||
]
|
]
|
||||||
++ builtins.map (x: "$mod SHIFT,${toString x},movetoworkspace,${toString x}") [1 2 3 4 5 6 7 8 9]
|
++ builtins.map (x: "$mod SHIFT,${toString x},movetoworkspace,${toString x}") [1 2 3 4 5 6 7 8 9]
|
||||||
++ builtins.map (x: "$mod,${toString x},workspace,${toString x}") [1 2 3 4 5 6 7 8 9]
|
++ builtins.map (x: "$mod,${toString x},workspace,${toString x}") [1 2 3 4 5 6 7 8 9]
|
||||||
|
@ -168,11 +169,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
master = {
|
|
||||||
always_center_master = true;
|
|
||||||
new_status = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
misc = {
|
misc = {
|
||||||
disable_hyprland_logo = true;
|
disable_hyprland_logo = true;
|
||||||
disable_splash_rendering = true;
|
disable_splash_rendering = true;
|
||||||
|
|
|
@ -45,10 +45,7 @@ self: {pkgs, ...}: {
|
||||||
fileManager = pkgs.xfce.thunar;
|
fileManager = pkgs.xfce.thunar;
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services.gammastep.enable = true;
|
||||||
gammastep.enable = true;
|
|
||||||
randomWallpaper.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
theme = {
|
theme = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -77,6 +77,7 @@ in {
|
||||||
"mailnews.default_sort_order" = 2; # descending, 1 for ascending
|
"mailnews.default_sort_order" = 2; # descending, 1 for ascending
|
||||||
"mailnews.default_sort_type" = 18; # sort by date
|
"mailnews.default_sort_type" = 18; # sort by date
|
||||||
"mailnews.message_display.disable_remote_image" = false;
|
"mailnews.message_display.disable_remote_image" = false;
|
||||||
|
"mailnews.start_page.enabled" = false;
|
||||||
"network.cookie.cookieBehavior" = 2; # no cookies
|
"network.cookie.cookieBehavior" = 2; # no cookies
|
||||||
"pdfjs.enabledCache.state" = true;
|
"pdfjs.enabledCache.state" = true;
|
||||||
"privacy.donottrackheader.enabled" = true;
|
"privacy.donottrackheader.enabled" = true;
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
self.inputs.nixhw.nixosModules.framework-13-intel-11th
|
self.inputs.nixhw.nixosModules.framework-13-intel-11th
|
||||||
self.nixosModules.common-auto-upgrade
|
|
||||||
self.nixosModules.common-base
|
self.nixosModules.common-base
|
||||||
self.nixosModules.common-locale
|
self.nixosModules.common-locale
|
||||||
self.nixosModules.common-mauville-share
|
self.nixosModules.common-mauville-share
|
||||||
|
@ -26,11 +25,7 @@
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables.GDK_SCALE = "1.5";
|
||||||
FLAKE = "https://flakehub.com/f/alyraffauf/nixcfg/*.tar.gz";
|
|
||||||
GDK_SCALE = "1.5";
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.hostName = "fallarbor";
|
networking.hostName = "fallarbor";
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./disko.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
|
(import ./../../disko/luks-btrfs-subvolumes.nix {disks = ["/dev/nvme0n1"];})
|
||||||
self.inputs.nixhw.nixosModules.framework-13-amd-7000
|
self.inputs.nixhw.nixosModules.framework-13-amd-7000
|
||||||
self.nixosModules.common-auto-upgrade
|
self.nixosModules.common-auto-upgrade
|
||||||
self.nixosModules.common-base
|
self.nixosModules.common-base
|
||||||
|
|
|
@ -114,10 +114,11 @@ in {
|
||||||
greetd = {
|
greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autologin = "aly";
|
autologin = "aly";
|
||||||
session = lib.getExe config.programs.sway.package;
|
session = lib.getExe config.programs.hyprland.package;
|
||||||
};
|
};
|
||||||
|
|
||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
|
hyprland.enable = true;
|
||||||
sway.enable = true;
|
sway.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -89,11 +89,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
bind = ["$mod SHIFT,M,layoutmsg,swapwithmaster master"];
|
|
||||||
general.layout = lib.mkForce "master";
|
general.layout = lib.mkForce "master";
|
||||||
|
|
||||||
master = {
|
master = {
|
||||||
mfact = 0.50;
|
mfact = 0.40;
|
||||||
orientation = "center";
|
orientation = "center";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||||
image = "${self.inputs.wallpapers}/wallhaven-mp886k.jpg";
|
image = "${self.inputs.wallpapers}/wallhaven-3lyrvy.png";
|
||||||
imageScalingMode = "fill";
|
imageScalingMode = "fill";
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./disko.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
|
(import ./../../disko/luks-btrfs-subvolumes.nix {disks = ["/dev/nvme0n1"];})
|
||||||
self.inputs.nixhw.nixosModules.lenovo-yoga-9i-intel-13th
|
self.inputs.nixhw.nixosModules.lenovo-yoga-9i-intel-13th
|
||||||
self.nixosModules.common-auto-upgrade
|
self.nixosModules.common-auto-upgrade
|
||||||
self.nixosModules.common-base
|
self.nixosModules.common-base
|
||||||
|
|
|
@ -1,56 +0,0 @@
|
||||||
{
|
|
||||||
disko.devices = {
|
|
||||||
disk = {
|
|
||||||
vdb = {
|
|
||||||
type = "disk";
|
|
||||||
device = "/dev/nvme0n1";
|
|
||||||
content = {
|
|
||||||
type = "gpt";
|
|
||||||
partitions = {
|
|
||||||
ESP = {
|
|
||||||
size = "1024M";
|
|
||||||
type = "EF00";
|
|
||||||
content = {
|
|
||||||
type = "filesystem";
|
|
||||||
format = "vfat";
|
|
||||||
mountpoint = "/boot";
|
|
||||||
mountOptions = [
|
|
||||||
"defaults"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
luks = {
|
|
||||||
size = "100%";
|
|
||||||
content = {
|
|
||||||
type = "luks";
|
|
||||||
name = "crypted";
|
|
||||||
content = {
|
|
||||||
type = "btrfs";
|
|
||||||
extraArgs = ["-f"];
|
|
||||||
subvolumes = {
|
|
||||||
"/root" = {
|
|
||||||
mountpoint = "/";
|
|
||||||
mountOptions = ["compress=zstd" "noatime"];
|
|
||||||
};
|
|
||||||
"persist" = {
|
|
||||||
mountpoint = "/persist";
|
|
||||||
mountOptions = ["compress=zstd" "noatime"];
|
|
||||||
};
|
|
||||||
"/home" = {
|
|
||||||
mountpoint = "/home";
|
|
||||||
mountOptions = ["compress=zstd" "noatime"];
|
|
||||||
};
|
|
||||||
"/nix" = {
|
|
||||||
mountpoint = "/nix";
|
|
||||||
mountOptions = ["compress=zstd" "noatime"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -6,10 +6,10 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./disko.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
|
(import ./../../disko/luks-btrfs-subvolumes.nix {disks = ["/dev/sda"];})
|
||||||
self.inputs.nixhw.nixosModules.thinkpad-t440p
|
self.inputs.nixhw.nixosModules.thinkpad-t440p
|
||||||
self.nixosModules.common-auto-upgrade
|
self.nixosModules.common-auto-upgrade
|
||||||
self.nixosModules.common-base
|
self.nixosModules.common-base
|
||||||
|
|
|
@ -1,56 +0,0 @@
|
||||||
{
|
|
||||||
disko.devices = {
|
|
||||||
disk = {
|
|
||||||
vdb = {
|
|
||||||
type = "disk";
|
|
||||||
device = "/dev/sda";
|
|
||||||
content = {
|
|
||||||
type = "gpt";
|
|
||||||
partitions = {
|
|
||||||
ESP = {
|
|
||||||
size = "1024M";
|
|
||||||
type = "EF00";
|
|
||||||
content = {
|
|
||||||
type = "filesystem";
|
|
||||||
format = "vfat";
|
|
||||||
mountpoint = "/boot";
|
|
||||||
mountOptions = [
|
|
||||||
"defaults"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
luks = {
|
|
||||||
size = "100%";
|
|
||||||
content = {
|
|
||||||
type = "luks";
|
|
||||||
name = "crypted";
|
|
||||||
content = {
|
|
||||||
type = "btrfs";
|
|
||||||
extraArgs = ["-f"];
|
|
||||||
subvolumes = {
|
|
||||||
"/root" = {
|
|
||||||
mountpoint = "/";
|
|
||||||
mountOptions = ["compress=zstd" "noatime"];
|
|
||||||
};
|
|
||||||
"persist" = {
|
|
||||||
mountpoint = "/persist";
|
|
||||||
mountOptions = ["compress=zstd" "noatime"];
|
|
||||||
};
|
|
||||||
"/home" = {
|
|
||||||
mountpoint = "/home";
|
|
||||||
mountOptions = ["compress=zstd" "noatime"];
|
|
||||||
};
|
|
||||||
"/nix" = {
|
|
||||||
mountpoint = "/nix";
|
|
||||||
mountOptions = ["compress=zstd" "noatime"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -4,13 +4,13 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./disko.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
./raffauflabs.nix
|
./raffauflabs.nix
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
|
(import ./../../disko/btrfs-subvolumes.nix {disks = ["/dev/sda"];})
|
||||||
|
self.inputs.nixhw.nixosModules.common-bluetooth
|
||||||
self.inputs.nixhw.nixosModules.common-intel-cpu
|
self.inputs.nixhw.nixosModules.common-intel-cpu
|
||||||
self.inputs.nixhw.nixosModules.common-intel-gpu
|
self.inputs.nixhw.nixosModules.common-intel-gpu
|
||||||
self.inputs.nixhw.nixosModules.common-bluetooth
|
|
||||||
self.inputs.nixhw.nixosModules.common-ssd
|
self.inputs.nixhw.nixosModules.common-ssd
|
||||||
self.nixosModules.common-auto-upgrade
|
self.nixosModules.common-auto-upgrade
|
||||||
self.nixosModules.common-base
|
self.nixosModules.common-base
|
||||||
|
|
BIN
secrets/wifi.age
BIN
secrets/wifi.age
Binary file not shown.
Loading…
Reference in a new issue