This commit is contained in:
@@ -145,7 +145,6 @@ func (c *InstallConfig) ToArchInstall() *ArchInstallConfig {
|
|||||||
"firejail",
|
"firejail",
|
||||||
"apparmor",
|
"apparmor",
|
||||||
"nftables", // Using nftables instead of ufw as requested
|
"nftables", // Using nftables instead of ufw as requested
|
||||||
"hardened-malloc",
|
|
||||||
|
|
||||||
// Browsers
|
// Browsers
|
||||||
"chromium", // Using regular chromium instead of ungoogled-chromium as requested
|
"chromium", // Using regular chromium instead of ungoogled-chromium as requested
|
||||||
@@ -220,7 +219,7 @@ func (c *InstallConfig) SaveArchInstallConfig(filepath string) error {
|
|||||||
return fmt.Errorf("failed to marshal config: %w", err)
|
return fmt.Errorf("failed to marshal config: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return os.WriteFile(filepath, data, 0644)
|
return os.WriteFile(filepath, data, 0o644)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *InstallConfig) SaveUserCredentials(filepath string) error {
|
func (c *InstallConfig) SaveUserCredentials(filepath string) error {
|
||||||
@@ -247,5 +246,5 @@ func (c *InstallConfig) SaveUserCredentials(filepath string) error {
|
|||||||
return fmt.Errorf("failed to marshal credentials: %w", err)
|
return fmt.Errorf("failed to marshal credentials: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return os.WriteFile(filepath, data, 0600)
|
return os.WriteFile(filepath, data, 0o600)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user