flakes working

This commit is contained in:
ark-lamp-umbrella 2024-04-22 00:14:46 -07:00
parent e702ce5f50
commit efa33e2b30
Signed by: ark-lamp-umbrella
GPG Key ID: 15E48F7B97025652
5 changed files with 29 additions and 7 deletions

View File

@ -143,7 +143,7 @@
programs.fish = { programs.fish = {
enable = true; enable = true;
# Enable starship prompt # Enable starship prompt
interactiveShellInit = builtins.readFile("/etc/nixos/fish/shellinit.fish"); interactiveShellInit = builtins.readFile ./fish/shellinit.fish;
}; };
programs.steam = { programs.steam = {
enable = true; enable = true;

View File

@ -1,4 +1,4 @@
set fish_greeting set fish_greeting
keychain --eval /home/ark/.ssh/id_ed25519 | source && clear keychain --eval /home/ark/.ssh/id_ed25519 | source && clear
source (/home/ark/.nix-profile/bin/starship init fish --print-full-init | psub) source (/etc/profiles/per-user/ark/bin/starship init fish --print-full-init | psub)
alias ls=lsd alias ls=lsd

View File

@ -37,10 +37,27 @@
"type": "github" "type": "github"
} }
}, },
"nur": {
"locked": {
"lastModified": 1713763264,
"narHash": "sha256-mUK2TyUpS/yTtN3ml2rt2eAYaa+nplrFRbWdgugOn0o=",
"owner": "nix-community",
"repo": "NUR",
"rev": "707903b469fe2c1423f58a21e864fe7388bdf86d",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "master",
"repo": "NUR",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs",
"nur": "nur"
} }
} }
}, },

View File

@ -10,14 +10,19 @@
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nur = {
url = "github:nix-community/NUR/master";
};
}; };
outputs = inputs@{ nixpkgs, home-manager, ... }: { outputs = inputs@{ nixpkgs, home-manager, nur, ... }: {
nixosConfigurations = { nixosConfigurations = {
ark-desktop-nixos = nixpkgs.lib.nixosSystem { ark-desktop-nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./configuration.nix ./configuration.nix
{ nixpkgs.overlays = [ nur.overlay ]; }
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
@ -28,4 +33,4 @@
}; };
}; };
}; };
} }

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { lib, pkgs, ... }:
{ {
home.username = "ark"; home.username = "ark";
@ -131,7 +131,7 @@
]; ];
} }
]; ];
userChrome = builtins.readFile ./userChrome.css; userChrome = builtins.readFile ./firefox/userChrome.css;
}; };
}; };
alacritty = { alacritty = {