Compare commits
2
Commits
be4e3096da
...
4f5f3322e4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f5f3322e4 | ||
|
|
973fec46ac |
No files matched your search
Generated
+8
-8
@@ -64,16 +64,16 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1779506708,
|
"lastModified": 1794251182,
|
||||||
"narHash": "sha256-QOD/CNm196nCJRheux/URi4/HE66fthdOMqCJoPP1Y0=",
|
"narHash": "sha256-R2sZBXiOJo3HAnvTiVkbbHDJy//JMlAwUKEiPbfqPXk=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "3ee51fbdac8c8bdfe1e7e1fcaba6520a563f394f",
|
"rev": "6eb2d33d1d0c95a37ef6443c88e6c1686012ee8b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "release-25.11",
|
"ref": "release-26.05",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -128,16 +128,16 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782847189,
|
"lastModified": 1794552581,
|
||||||
"narHash": "sha256-twXPFqFsrrY5r28Zh7Homgcp2gUMBgQ6WDS98Q/3xFI=",
|
"narHash": "sha256-qXFIqA6FCcx7XeDzw0ZNlkDT9UiCzrNDwK8RuU8RcHM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b6018f87da91d19d0ab4cf979885689b469cdd41",
|
"rev": "f1e5c356f35d07e7b71a6b5e6c9338e0b029e0c0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-25.11",
|
"ref": "nixos-26.05",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
# Nixpkgs
|
# Nixpkgs
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
|
||||||
# You can access packages and modules from different nixpkgs revs
|
# You can access packages and modules from different nixpkgs revs
|
||||||
# at the same time. Here's an working example:
|
# at the same time. Here's an working example:
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
# Also see the 'unstable-packages' overlay at 'overlays/default.nix'.
|
# Also see the 'unstable-packages' overlay at 'overlays/default.nix'.
|
||||||
|
|
||||||
# Home manager
|
# Home manager
|
||||||
home-manager.url = "github:nix-community/home-manager/release-25.11";
|
home-manager.url = "github:nix-community/home-manager/release-26.05";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
# Utils
|
# Utils
|
||||||
|
|||||||
@@ -73,7 +73,6 @@
|
|||||||
hunspellDicts.en_US
|
hunspellDicts.en_US
|
||||||
obs-studio
|
obs-studio
|
||||||
shotcut
|
shotcut
|
||||||
qutebrowser #web browser
|
|
||||||
blockbench
|
blockbench
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -68,17 +68,21 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = (
|
||||||
|
(with pkgs; [
|
||||||
# --- General utils ---
|
# --- General utils ---
|
||||||
libreoffice # Microsoft replace
|
libreoffice # Microsoft replace
|
||||||
libresprite #Pixel art
|
|
||||||
hunspell
|
hunspell
|
||||||
hunspellDicts.en_US
|
hunspellDicts.en_US
|
||||||
|
])
|
||||||
|
++ (with pkgs.unstablePkgs; [
|
||||||
|
# --- Creative utils ---
|
||||||
obs-studio
|
obs-studio
|
||||||
shotcut
|
shotcut
|
||||||
qutebrowser #web browser
|
|
||||||
blockbench
|
blockbench
|
||||||
];
|
libresprite # Pixel art
|
||||||
|
])
|
||||||
|
);
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = username;
|
username = username;
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
inputs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.qutebrowser = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -7,12 +7,17 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
home.packages = with pkgs; [
|
home.packages = (
|
||||||
# --- CLI utils ---
|
(with pkgs; [
|
||||||
|
# --- Core Wayland plumbing (Stable 26.05) ---
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
])
|
||||||
|
++ (with pkgs.unstablePkgs; [
|
||||||
|
# --- Fast-moving CLI utils (Unstable) ---
|
||||||
clipse
|
clipse
|
||||||
timg
|
timg
|
||||||
];
|
])
|
||||||
|
);
|
||||||
# --- Shell environment ---
|
# --- Shell environment ---
|
||||||
programs.direnv.enable = true;
|
programs.direnv.enable = true;
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
programs.yazi = {
|
programs.yazi = {
|
||||||
|
shellWrapperName = "y";
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
flavors = {
|
flavors = {
|
||||||
|
|||||||
@@ -82,5 +82,5 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
system.stateVersion = "25.11";
|
#system.stateVersion = "25.11"; #FIXME, should be fine to change on a fresh install
|
||||||
}
|
}
|
||||||
@@ -17,15 +17,23 @@
|
|||||||
|
|
||||||
services.blueman.enable = true; #bluetooth
|
services.blueman.enable = true; #bluetooth
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = (
|
||||||
# -- Niri extras --
|
(with pkgs; [
|
||||||
xwayland-satellite
|
# -- Stable system utilities --
|
||||||
fuzzel
|
|
||||||
waybar
|
|
||||||
brightnessctl
|
brightnessctl
|
||||||
playerctl
|
playerctl
|
||||||
swaylock
|
swaylock
|
||||||
|
])
|
||||||
|
++ (with pkgs.unstablePkgs; [
|
||||||
|
# -- Fast-moving Wayland tools --
|
||||||
|
xwayland-satellite
|
||||||
|
fuzzel
|
||||||
|
waybar
|
||||||
|
])
|
||||||
|
++ [
|
||||||
|
# -- External flake inputs --
|
||||||
inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww
|
inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww
|
||||||
inputs.skwd-wall.packages.${pkgs.stdenv.hostPlatform.system}.default
|
inputs.skwd-wall.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||||
];
|
]
|
||||||
|
);
|
||||||
}
|
}
|
||||||
@@ -29,12 +29,12 @@ in
|
|||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
systemd.sleep.extraConfig = ''
|
systemd.sleep.settings.Sleep = {
|
||||||
AllowSuspend=no
|
AllowSuspend = "no";
|
||||||
AllowHibernation=no
|
AllowHibernation = "no";
|
||||||
AllowHybridSleep=no
|
AllowHybridSleep = "no";
|
||||||
AllowSuspendThenHibernate=no
|
AllowSuspendThenHibernate = "no";
|
||||||
'';
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /home/shared 0777 root root -"
|
"d /home/shared 0777 root root -"
|
||||||
|
|||||||
@@ -16,23 +16,14 @@ in {
|
|||||||
"video"
|
"video"
|
||||||
];
|
];
|
||||||
|
|
||||||
# TODO: use as needed
|
|
||||||
#openssh.authorizedKeys.keys = lib.splitString "\n" (builtins.readFile ../../../../home/gabriel/ssh.pub);
|
|
||||||
#hashedPasswordFile = config.sops.secrets.gabriel-password.path;
|
|
||||||
#packages = [pkgs.home-manager];
|
#packages = [pkgs.home-manager];
|
||||||
};
|
};
|
||||||
|
|
||||||
# unused for now, may add sops later on
|
|
||||||
#sops.secrets = {
|
|
||||||
# gabriel-password = {
|
|
||||||
# sopsFile = ../../secrets.yaml;
|
|
||||||
# neededForUsers = true;
|
|
||||||
# };
|
|
||||||
#};
|
|
||||||
|
|
||||||
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
||||||
|
|
||||||
security.pam.services = {
|
security.pam.services = {
|
||||||
swaylock = {};
|
swaylock = {};
|
||||||
|
${username}.enableGnomeKeyring = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -12,24 +12,14 @@ in {
|
|||||||
extraGroups = ifTheyExist [
|
extraGroups = ifTheyExist [
|
||||||
];
|
];
|
||||||
|
|
||||||
# TODO: use as needed
|
|
||||||
#openssh.authorizedKeys.keys = lib.splitString "\n" (builtins.readFile ../../../../home/gabriel/ssh.pub);
|
|
||||||
#hashedPasswordFile = config.sops.secrets.gabriel-password.path;
|
|
||||||
#packages = [pkgs.home-manager];
|
#packages = [pkgs.home-manager];
|
||||||
};
|
};
|
||||||
|
|
||||||
# unused for now, may add sops later on
|
|
||||||
#sops.secrets = {
|
|
||||||
# gabriel-password = {
|
|
||||||
# sopsFile = ../../secrets.yaml;
|
|
||||||
# neededForUsers = true;
|
|
||||||
# };
|
|
||||||
#};
|
|
||||||
|
|
||||||
# TODO: ensure correct paths
|
|
||||||
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
||||||
|
|
||||||
security.pam.services = {
|
security.pam.services = {
|
||||||
swaylock = {};
|
swaylock = {};
|
||||||
|
${username}.enableGnomeKeyring = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -27,19 +27,9 @@ in {
|
|||||||
"wireshark"
|
"wireshark"
|
||||||
];
|
];
|
||||||
|
|
||||||
# TODO: use as needed
|
|
||||||
#openssh.authorizedKeys.keys = lib.splitString "\n" (builtins.readFile ../../../../home/gabriel/ssh.pub);
|
|
||||||
#hashedPasswordFile = config.sops.secrets.gabriel-password.path;
|
|
||||||
#packages = [pkgs.home-manager];
|
#packages = [pkgs.home-manager];
|
||||||
};
|
};
|
||||||
|
|
||||||
# unused for now, may add sops later on
|
|
||||||
#sops.secrets = {
|
|
||||||
# gabriel-password = {
|
|
||||||
# sopsFile = ../../secrets.yaml;
|
|
||||||
# neededForUsers = true;
|
|
||||||
# };
|
|
||||||
#};
|
|
||||||
|
|
||||||
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
||||||
|
|
||||||
|
|||||||
@@ -27,21 +27,10 @@ in {
|
|||||||
"wireshark"
|
"wireshark"
|
||||||
];
|
];
|
||||||
|
|
||||||
# TODO: use as needed
|
|
||||||
#openssh.authorizedKeys.keys = lib.splitString "\n" (builtins.readFile ../../../../home/gabriel/ssh.pub);
|
|
||||||
#hashedPasswordFile = config.sops.secrets.gabriel-password.path;
|
|
||||||
#packages = [pkgs.home-manager];
|
#packages = [pkgs.home-manager];
|
||||||
};
|
};
|
||||||
|
|
||||||
# unused for now, may add sops later on
|
|
||||||
#sops.secrets = {
|
|
||||||
# gabriel-password = {
|
|
||||||
# sopsFile = ../../secrets.yaml;
|
|
||||||
# neededForUsers = true;
|
|
||||||
# };
|
|
||||||
#};
|
|
||||||
|
|
||||||
# TODO: ensure correct paths
|
|
||||||
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
||||||
|
|
||||||
security.pam.services = {
|
security.pam.services = {
|
||||||
|
|||||||
Reference in new issue
Block a user